package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * InnoDB free: 8192 kB
 * </p>
 *
 * @author lby
 * @since 2020-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BzLog implements Serializable {


    @TableId(value = "log_id", type = IdType.AUTO)
    private Integer logId;

    private String username;

    private Date logDate;

    private String logIp;

    /**
     * 添加就记录 add  删除操作就记录delete
     */
    private String logType;

    /**
     * 日志的操作内容，例如：查询了商品数据 就记录一句话：查询商品数据
     */
    private String logContent;


}
